package com.jackson.passjava.member.feign;

import com.jackson.passjava.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @application:
 * @author: LiYuhang
 * @Date: 2021/8/16 23:43
 * @version: 0.1
 * @Description :
 * @Modified By:
 */
@FeignClient("passjava-study")
public interface StudyTimeFeignService {

    /**
     *远程调用
     * @return
     */
    @RequestMapping("study/smsstudytime/member/list/test")
    public R getMemberStudyTimeListTest();

    /**
     * 远程调用
     * @param id
     * @return
     */
    @RequestMapping("study/smsstudytime/member/list/test/{id}")
    public R getMemberStudyTimeListTest(@PathVariable("id") Long id);

}
